SessionLib class and Login function added