massive funcitonality update

fix errors and got working
-editBlog.php
-index.php
-manageBlog.php
-login.php