Drafting the authx part