Fixed a bug that caused all page loads to result in the 'Dashboard' page