search user and viewprofile works