SQL ERROR:
SELECT * FROM auth_applications WHERE sAPPcode = 'frm_gen'