Code for webdoctor App