Fix bug and correct some issues

  - Fix a bug where a sweet was type casted using str() and it would fail if
    the string was a unicode throwing a HTTP 500. Fix that.
  - Using user_id instead of id as the parameter name in user view code.