rename auth module fns to be clearer