created rakes to delete invalid data, added nullification to user_id for comments