made changes to model files, created controllers and routes for each page