added an pp varification of a priority application number presense in DB & some issue fixed