Update UpdateController.php

* Make username & hostname working with Windows too
* add $rightsecret variable to send to views to inform the user
Add rightsecret condition
Add rightsecret condition
Merge pull request #1 from fabiencrassat/master

Improve secret information and make Windows working