Minor clean up, add root route, move session helper methods to controller.