Utility functions for querying the webmaker user database