Added functions for news and page editing