Moved session check code into a base class. All code behind files extend BasePage. Closes #32.