created tables and modified the controller and model to display dropdowns