debugging registration form