redirecting to login screen on app load