Added a popup dialog for login.