added required fields to register page