move admin layout and cmd layout to admin view