refactor User#students to use a scope