added user logging in and out to application layout