fixed capializtion issues with search and made some changes for caps in models and views