add guarden support for permission control,add the sql console output
add the email activate support