retrieves players from database