App now check if a user is present and redirects to login if not