Secure Session Fix

Fixed some syntax issues