removed build resumeData to a function held in applicationController