add secu in def randomloginormdp