test the method of get user info