refactor code out into 'lib' directory
added db.auth, db.getUsers, db.getRoles, db.logout, db.createUser
Merge pull request #16 from alabid/db/auth

Db/auth