comment keys functions
add possibility to store or not masterKey
code cleaning: remove console.log
user can change securityMax