Added logiced to display 'Signed in as' or 'Login or Sign Up' into the application view