Updated app to to redirect to login