integrate jfinal_authority_jbase code into it