1. fix controller to listen all requests including resources