make login page slightly smarter