make some template stuff configurable, move mellon configuration to Authentication section