adding thoughts to database is working