Fixed some undefined variables-errors in the new installer.
Fixed a bug when the admin was not created.
Merge pull request #46 from Reflic/master

Fixed some undefined variables and a bug where the admin was not created.