added styles to index and edit pages