Remove PHP Warnings from worker page

* Added HTML5 required flags for username/passwords
* Added empty string check in addWorker method

Fixes #347
Merge pull request #349 from TheSerapher/issue-347

Remove PHP Warnings from worker page