Adding logic to display signed in as or login/sign up in application view