signin dialog working