beginning of swapping to mojang's authlib for authentication