add registration and update gitignore