Added user security to pages

Closes #4