Added JAX-RS Login Tomcat Server Code to Discuss and edit