working on loading Periods on Login