fixed contents and added functionality for roles on editCont.php