editing register page and ignore server/portal folder in gitignore file