[wallace] more refactoring. CST login pages