change Viewprofile via name to via userId