Split auth into another file.