redirect to app if logged in