move login page to a pop up dialog