changed user to a superclass