configured databases for production/development and readded will paginate gem for index.html pagination