Fixed ticket issue

Fixed date bug, fixed looping bug, style changes to index