fix up auth so registering works