changed links in application layouts; added search functionality (doesn't work for SQLite, should work when deployed to Heroku