Fix reflink class
Add reflink for user registration