added more full-featured login page