Added more form validation logic and added temporary principal context credentials;will retest on network
Added TODO for setting principal context permissions