Below is an example of the proper header and footer from an MLA essay. 

 

Note that the author's last name and page number are in the upper right corner.