Improved assignment 3

everything works except refreshing 1st page