making a client struct for auth