Several api fixes
New register form