added points attribute to user model