successful login on auth client and redirect to main app