get user credential