add login, fix spacebar cannot open inlinemenu