layout done for home and visit pages