Bugfix: don't force the input to be an instance of User