update security class
optimize security api
change rest property
refactor python unit tests
fix javascript method
remove public class