Added the end statement in the service center controller