vhosts controller refactore
frontend refactoring