Placed app inside global object.
Rerouted based on login.