Made mocks server toggleable in the view