added the create action in the controller, populating the table