Add timeout to loading screen and route to login