Use datetime type for schedule dates
Store secret key in environment configuration