Updated registering

didn’t work if they put nothing in adminpassword section. it has been
updated to work