adding rew route for search

adding new template for search
adding new view for search

changing a few things in other views