Implemented most of the dbassist helper functions, should handle AJAX post request correctly