Changed the app roles to be represented by an enum to remove all the magic strings