Added ability to change credentials.

Small bug, the user gets his a new email if it was set, but the current login is not set to that email.