updated user_controller and spec for search