Added blog and page functions, users can store in database