Added server side functionality to add a score