auth working again. implemented jsonobject into servlets.