Style fix
Fix function bindings
Rename fn - authenticate