login page almost working