changed dashOn cookie to session cookie