implemented edit for user profile