db.getUser and db.getUsers

Ready for merge.