Added unregister method. Registrations are no longer bound to user id.