api added || register form bug