Added authentication

No clue how safe this is, but at least it works and doesn't give empty
500 internal server errors *coughfacebookcough*
Style modified dates