Rectified login issue