worked on login scenario