done simple calendar and view attendance trend (static), fix some bugs