implementing offline registration