Fixed security issue.
Integrated 3 condition study to work on front end UI.