Fixed Bug preventing students from properly being logged out