add login duration feature
finish index module