Add user model with authentication logic