modified crowd application using JPA