updated controller for else statement to send job