removed testing code and replaced with live code
added a uci value to customize application portal on and off