modify messageResource and controller requestmapping