fix database and requests
db
Merge pull request #73 from alezucco/master

db and server