refactoring community api controller
introduced form routes