1. An image processing apparatus comprising: a detector unit configured to detect an event that a first user logs in to the image processing apparatus; a determination unit configured to, when the event is detected by said detector unit, determine whether or not an interactive job is under execution, wherein the interactive job is a job that becomes suspended after a start of execution of the job and before the job is completed, and requires an instruction of execution of the job from a second user to resume the suspended job; and a control unit configured to: when said determination unit determines that the interactive job is under execution, query the first user whether or not to cancel the interactive job, and when said determination unit determines that the interactive job is not under execution, perform a login to the image processing apparatus for the first user without making the query.