Add topic in urlMappings
Add topic in post mapping
Adapt RestPostController for get the topic from the json