added models and migrations for the user and appointment models.
Fixed wiring on database relations
Merge pull request #1 from alycit/db

Db