fixes to raven session, began work to refine ajax calls