fix user gets;add test