Split up User saving logic from the rest of the login