update to use cookiestore instead of mongodb session, improve panel-form errors