User management REST API using JavaEE7.1