added active record user model