Worked on checklogin