new method to return user id