cleaned up loginPage