front-end for homepage implemented