add functions to check for and add a database and user to a mongodb