the login operation queries the database now
Merge pull request #153 from davvitt/issue#146-databaseLogin

the login operation queries the database now