Working on the register and authorize form