added layout to admin controller