Update user profile and redirect to log in