Registration form now works