more errorchecks in register form