added user model with active records