Made User class mutable.
Created API for updating a profile.