Refactoring code and nesting
Fixed nesting topic-post  views and controllers