Split authentication out into its own method
Don't use short form module declaration. Re-indent