Symfony2 application in order to manage a notification system using rest webservices