Adding security and minor style fix

Added security to multiple pages and also fixed a styling bug on the
addScanner page