validations for title and text presence on database
Merge pull request #4 from domestic/add_database

validations for title and text presence on database