Updated code with Resume page