Usersearch and helper function added