Do not hardcode User class

* Use `find_by`, not `find_by_id`
* Update documentation