permission granted only to registered apps and valid users, little bugfixes