abstract notification querie to user model