Fixed database calls.
Merge pull request #66 from jaredbischof/master

Fixed database calls.