changing registrations() into getRegistration() as there is single registration per webapp