Implementing RESTful API for forums