Fix missing end in user model