Made the method for preview of page not require login