fix login / register