move auth option to another file