added configuration page and related functions