JNDI Example to separate class
LoginCheck. Simple code added