Merge pull request #11 from sweetrocker22/db-greg

fixing errors debuging posts
Log in not working yet