Fixed bug in show action in profiles and adding feature to search profiles of members

Fixed a bug with the show action in Profiles.

Also added a search action so that the profile of the members could be searched