Corrected using abstract class for users and making entity a model