integrate home page with backend