app registration works