input type is modified
session secret key is added