check credentials
reset sync data + refactoring
reimplemented sync scheme