implemented DbClient.Register, helper methods FindUser and DatabaseErrorHandler