Replace (@=?) with (@?=)
Add authenticateDatabaseUser