add method for synchronize contacts from remote to local database and clean session when token expire