Worked on the login sequence