Extract user entity

I extracted the user data from ticket-granting ticket into the entity user. This simplifies the handling and gives us a simple and unique user id.