working on the likes saving at the backend