add scoping methods to the user model