rename auth api a bit