Move user searching method

Moved the method for searching for users in a course to
its appropriate home.