Adds logic to display 'signed in as' or 'Login or sign in' in the application view