Changed modifier to public in User