new login page and other improvements