Added login dialog (very ugly)