Implement configuration of due date and secret_key in settings page