adding the ability to register apps