works auth with admin