added register page

I think name should be null: false