Added directive for login dialog