add add_joke method and db methods