Store feedback for pages

I have below design on my pages. I want to store user feedback(like or dislike) with his email and text content for page. how can i achieve it

feedback

Where do you get the data from? Is this about logged-in users? Or do you want to redirect users to a form where they have to enter the data?

if user is logged in will pass that user email id otherwise will ask for user to enter email address. after entering mail id or getting it for logged in user. i want to store like/dislike and user emailid for that page