Adding security and minor style fix

Added security to multiple pages and also fixed a styling bug on the
addScanner page
add "addUser" function

Created the addUser function in the functions page
Merge branch 'master' into aciampi

Conflicts:
	addEvent.php
	addScanner.php
added logout