Persistence, Controller and view is working for homepage