updated the user login scenario