adding download page functionality