Add test for User
Refactor to move logic to models
Delete test database
Merge pull request #2 from timproctor/user-class

User class