#338|+Manan|  ui changes for authorize rnr. Also adding distinct in select  queries.