Few changes and fixes

  - MySQL doesn't accept varchar length more than 255. Fix that. In context
    class.
  - Added logging count of sweets in the frontend view.
  - Added debug statement in views/user module.