added basic logged-in vs. logged-out state
restructured apps