refactor score mechanism and remove message validation of sender_id