Allowing editing of users

Changes to allow a user details to be edited.