Fixed controller to take in postRequest objects