Fixed broken submit in registration