Server handles requests to like and dislike a post
- update user model to have list of liked comments and list of liked posts.
- update user model to have list of disliked comments and list of disliked posts.
Server will check the userid of the request and check if they have already liked a post.
If liking/disliking for the first time adds to the liked post
if already liked or disliked the user will remove the current like or dislike and apply the new like/dislike or remove the old like/dislike