User object should be retuned, and variable name fix