created layout for index