add security logic
add security logic