change get to post for search