Add controller methods and define routes for user