fix bug with length of secret, and expose different properties
add totp resource