fix bugs on authentication and start building content history