added timer and using session instead of class variables