added date input to register form