Add functionality to edit profile