Added a function for setting up a test database. Added functions for accessing user info