refactored and restyled index views