Fixed controller for REST api