Changed functional in profile page and added function to edit user role