hotfix for user registration