added defaults for session variables