change gitignore
complete register api