add login history controller