Moved users.all to db

Moved the users.all method to the db.js file where it belongs and
removed all un-needed requires after the move.