Updated the endpoint url for likes and sessions