registration form now works