finished implementation of homepage