Add authentication feature to register package and remove package
fixes #26