controllers and responses in framework