add functionality in the home page