Added Authentication

Ugly but effective