added more login scenarios