rename error and login classes.
Fix some build errors.
fix some minor issues.