fix new and add login scenario