Fixed editing names
Basic auth + small fix for sync offlin