Add a method to know if the user can edit itself
Add the method to update the user's password
Fix some bugs