Move the auth_user method to the User model.

The auth_user belongs to the User, didn't
make any sense to leave that in the database
model.
Merge pull request #30 from bmoar/refactor_database.auth_user

Move the auth_user method to the User model.