portal branding refactored

 * refactored url fetching into neater functions
 * all values taken from config
 * builtin landing page decision made via null/not null variable