added user id to user class, and added sales endpoint