handle errors on server
communicate error to user
Merge pull request #6 from Dakuan/db/error-handling

handle errors on server