Updated SearchController and Fixed an Error in LoginController.
Merged Changes