version 5

add the security and the validatioin.