Added the searchUser function to the users controller