added a session to check if the user selected mail opt in option and set
it in a session