Creates the backbone of UI. Implements user session, updates User model to have some more fields. Rearranges some directory structure. Refactors retrieve_user (makes some unnecessarily instance methods into plain functions)