updated user model for upgrade of 4.1.28 register token, updated post index view