fixed up authentication stuff. added partial panel