Updated the controller to work with post requests
Initial Commit