Added missing functions and model relationships.
Added test fixtures.
View for users.
Made a correction to the routes file.
Update to the MainController