undefined variables in upgrade.php

- where name and/or password fields from the submitted form were left empty, undefined errors occurred

Signed-off-by: -Underdog- github.underdog@gmail.com