Added login pop-up functionality.