Session JS  object is now being updated from the server if  there is an incoming 'sid' param on the command line. Example:
http://localhost:8080/coastal-hazards-portal/?sid=0eec5e346c3b3bbd98a83d638fc5d542d0f6e830
Refactored the session service and JS object a bit to better serialize/deserialize from JSON  on the front end