initial setup for homepage