Added sign in/out if else statemnt to application view