implementing login dialog