Added a single flow implemenation for uer using rest service and jpa