added authorization cookies and info editting