Fixed register form problem

Was probably my fault to begin with lol