login, metadata, logout complete