made changes on models and views to get the app up