updated file schema; added dynamic list of files uploaded by that user from mongodb
added user session check on index route, now since I also pull list of files from DB on the same route
added a search form to the search page