Added some security stuff to terminal page.