refactor register/login handler into onSubmit handler
refactor register/login handler into onSubmit handler

davidychow87/etf,SrSandeepKumar/TheWeatherApp,tgallin/accompagnerlautisme,agroves333/sf,ramakay/CognitiveMerchandiser,avloss/reactGo,gajananpp/DS,minicooperj/MegdProject,jonatay/linkupAdmin,phoniks/JustUs-1,reactGo/reactGo,scotteggs/question_flow,mohammed52/door-quote-automator,johnware15/upbeat-crane,Svatok/react-todo,choonkending/react-webpack-node,minicooperj/MegdProject,andrewmoon1/moon-codes,zhenghaofan/blog,reactGo/reactGo,denistakeda/LifeBalance,Albert/react-webpack-node,denistakeda/LifeBalance,zakkriel/love-quest,denistakeda/LifeBalance,agroves333/banno