Removing documentation. Refactoring login and core.