Implemented user create/update on successful login.