Do not hardcode User class

Update documentation too.