incremental checkin work on authentication

added log in / log out to application layout