Added searchUser function