fix z-index panel bug
fix memory bug for ebook and add profile management for users