Changed role class to enum. Added dependecy to user class.