fixed controllername, index page and made model associations