Fix $app connection in Register Method

Register method failed to get a copy of the Application for all uses.