continue creating functionality of homepage