Finished searchUser() and added field validation function.