fixed an empty array error
dissallowed install.php when user is not admin
Implemented reinstall feature