revised the session part of addnewadmin page