- removed opendb() - removed query_userdb() - removed error handling from the code as it is done with query_appdb()