Change Login logic.