before server