creating a basic layout for the index