Fix register params validation
Fix register params validation

nepaul/learn-web-development-by-codes,nepaul/learn-web-development-by-codes,nepaul/learn-web-development-by-codes,nepaul/web-demos,nepaul/learn-web-development-by-codes,nepaul/web-demos,nepaul/learn-web-development-by-codes,nepaul/learn-web-development-by-codes,nepaul/learn-web-development-by-codes