rewrite php method
remove rest interface
add security method