Calendar connected to the database