added endpoint for homepage