Added truncate_html and connected posts and users table