make getProfile static

Since it is the only function in the class that isn't