add specs for posts search method
add posts search method
add new searhing functionality to posts_controller
update search form