add functionality to retrieve user votes