logon and authorization added to app