updating the general layout of main page. todo: tests