fixed user type issue in search page