extract registration form
use rails style routing