Improve log in by using pop-up window.