Created UserController and utilised the Repository Pattern to abstract the Model away from the controller