To build an application, you need to first build a realm and a logon procedure for the application