Refactor ajax dream controller

You must return Response object in controller methods above