Added better user parsing.  Added dbInit() function