fix badness
fix tests for user registration