added a check for a exceptions
changed how sessions are updating fields to new way

added comments and exception checks to manage user