updated user edit function to allow firstname, lastname edits also
updated userrepository for above change