fixing ServiceManager logic + adding a security check for starting a job + adding a basic shiro module