redirecting user to app with email and apiToken