clean up ha library. add auth play ground. improve account mapping.