configured database and some freaks on application.html.erb