Feature/support for authentication

attn @nigelramsay