Typo
Fix to stop DBs clobbering each other. Removed global variable
Use modified db init function
Retrieval method for user DB