merged user login template with clss code