Fix 'Undefined variable: user_validation' error in posts API

Accidentally commented out $user_validation code, but was still passing
the
variables to $user->check()