Redirects to app if there is a valid session.