Added login capabilities for editing pages.