Added invalidVars to recordModel to keep track of vars that were not able to be set.
Updated controller to keep track of request method.