modified postcontroller and routes
Merge pull request #7 from sweetrocker22/db-greg

modified postcontroller and routes