fixed the registration

I had two addUser methods inthe user.js, one was a remnant from the
first assignment. I deleted that and now registration works perfectly