functional crud operations for the user model