Condensing login&register route handler into one function
Condensing login&register route handler into one function

roman01la/jsbin,mcanthony/jsbin,dhval/jsbin,fend-classroom/jsbin,saikota/jsbin,eggheadio/jsbin,yize/jsbin,carolineartz/jsbin,jwdallas/jsbin,johnmichel/jsbin,dennishu001/jsbin,mingzeke/jsbin,thsunmy/jsbin,minwe/jsbin,simonThiele/jsbin,dhval/jsbin,ilyes14/jsbin,IveWong/jsbin,jsbin/jsbin,jamez14/jsbin,vipulnsward/jsbin,HeroicEric/jsbin,jamez14/jsbin,peterblazejewicz/jsbin,knpwrs/jsbin,arcseldon/jsbin,yohanboniface/jsbin,jwdallas/jsbin,mlucool/jsbin,IveWong/jsbin,digideskio/jsbin,kentcdodds/jsbin,late-warrior/jsbin,Hamcha/jsbin,jasonsanjose/jsbin-app,KenPowers/jsbin,martinvd/jsbin,ilyes14/jsbin,saikota/jsbin,late-warrior/jsbin,y3sh/jsbin-fork,yize/jsbin,dedalik/jsbin,knpwrs/jsbin,y3sh/jsbin-fork,francoisp/jsbin,juliankrispel/jsbin,peterblazejewicz/jsbin,KenPowers/jsbin,kentcdodds/jsbin,mdo/jsbin,arcseldon/jsbin,remotty/jsbin,jasonsanjose/jsbin-app,ctide/jsbin,IvanSanchez/jsbin,knpwrs/jsbin,fgrillo21/NPA-Exam,filamentgroup/jsbin,juliankrispel/jsbin,vipulnsward/jsbin,carolineartz/jsbin,HeroicEric/jsbin,kirjs/jsbin,pandoraui/jsbin,blesh/jsbin,fend-classroom/jsbin,yohanboniface/jsbin,nitaku/jervis,minwe/jsbin,Freeformers/jsbin,simonThiele/jsbin,mingzeke/jsbin,johnmichel/jsbin,mcanthony/jsbin,digideskio/jsbin,francoisp/jsbin,fgrillo21/NPA-Exam,dennishu001/jsbin,svacha/jsbin,ctide/jsbin,AverageMarcus/jsbin,mlucool/jsbin,IvanSanchez/jsbin,jsbin/jsbin,pandoraui/jsbin,martinvd/jsbin,eggheadio/jsbin,kirjs/jsbin,Freeformers/jsbin,thsunmy/jsbin,svacha/jsbin,roman01la/jsbin,AverageMarcus/jsbin,filamentgroup/jsbin,dedalik/jsbin,KenPowers/jsbin,Hamcha/jsbin