Style fixes
Debug errors
Fixed routes for search