fixed login error and added table creation to blog.php 8/16/14