added index styles, editions for index view and controller js