fixed unit tests, fixed adding of pages without username