added liking/unliking back-end functionality