make the body & footer dynamic with server interaction