DRY'ed up the user model
DRY'ed up the user model

michaKFromParis/gitlabhqold,darkrasid/gitlabhq,WSDC-NITWarangal/gitlabhq,stellamiranda/mobbr-gitlabhq,pjknkda/gitlabhq,H3Chief/gitlabhq,hzy001/gitlabhq,hacsoc/gitlabhq,folpindo/gitlabhq,Burick/gitlabhq,OtkurBiz/gitlabhq,axilleas/gitlabhq,LytayTOUCH/gitlabhq,since2014/gitlabhq,eliasp/gitlabhq,goeun/myRepo,hacsoc/gitlabhq,akumetsuv/gitlab,per-garden/gitlabhq,yfaizal/gitlabhq,salipro4ever/gitlabhq,ngpestelos/gitlabhq,dvrylc/gitlabhq,mr-dxdy/gitlabhq,ordiychen/gitlabhq,mmkassem/gitlabhq,Burick/gitlabhq,SVArago/gitlabhq,williamherry/gitlabhq,8thcolor/eurucamp2014-htdsadr,luzhongyang/gitlabhq,folpindo/gitlabhq,openwide-java/gitlabhq,youprofit/gitlabhq,ibiart/gitlabhq,openwide-java/gitlabhq,bbodenmiller/gitlabhq,gorgee/gitlabhq,per-garden/gitlabhq,zrbsprite/gitlabhq,allistera/gitlabhq,chrrrles/nodeflab,joalmeid/gitlabhq,riyad/gitlabhq,yatish27/gitlabhq,rfeese/gitlab-ce,cncodog/gitlab,dplarson/gitlabhq,CodeCantor/gitlabhq,theonlydoo/gitlabhq,goeun/myRepo,Kambda/Mobbr,pkallberg/tjenare,CodeCantor/gitlabhq,pkgr/gitlabhq,mr-dxdy/gitlabhq,0x20h/gitlabhq,mente/gitlabhq,ksoichiro/gitlabhq,sue445/gitlabhq,ttasanen/gitlabhq,yonglehou/gitlabhq,szechyjs/gitlabhq,williamherry/gitlabhq,manfer/gitlabhq,flashbuckets/gitlabhq,kitech/gitlabhq,chadyred/gitlabhq,sakishum/gitlabhq,initiummedia/gitlabhq,ArthurHoaro/Public-GitLab,whluwit/gitlabhq,hzy001/gitlabhq,Soullivaneuh/gitlabhq,pulkit21/gitlabhq,revaret/gitlabhq,whluwit/gitlabhq,mrb/gitlabhq,nguyen-tien-mulodo/gitlabhq,jirutka/gitlabhq,liyakun/gitlabhq,sue445/gitlabhq,tim-hoff/gitlabhq,kemenaran/gitlabhq,icedwater/gitlabhq,ikappas/gitlabhq,xuvw/gitlabhq,NKMR6194/gitlabhq,NuLL3rr0r/gitlabhq,hq804116393/gitlabhq,screenpages/gitlabhq,openwide-java/gitlabhq,Devin001/gitlabhq,Devin001/gitlabhq,jrjang/gitlab-ce,fgbreel/gitlabhq,allysonbarros/gitlabhq,pkallberg/tjenare,daiyu/gitlab-zh,TheWatcher/gitlabhq,TheWatcher/gitlabhq,pulkit21/gitlabhq,stellamiranda/mobbr-gitlabhq,yulchitaj/TEST3,jvanbaarsen/gitlabhq,bbodenmiller/gitlabhq,michaKFromParis/gitlabhq,ayufan/gitlabhq,zBMNForks/gitlabhq,mrb/gitlabhq,sue445/gitlabhq,michaKFromParis/sparkslab,NARKOZ/gitlabhq,it33/gitlabhq,cinderblock/gitlabhq,liyakun/gitlabhq,Exeia/gitlabhq,stanhu/gitlabhq,iiet/iiet-git,ZeoAlliance/gitlabhq,williamherry/gitlabhq,vjustov/gitlabhq,dplarson/gitlabhq,tim-hoff/gitlabhq,stoplightio/gitlabhq,windymid/test2,icedwater/gitlabhq,rhels/gitlabhq,ksoichiro/gitlabhq,k4zzk/gitlabhq,robbkidd/gitlabhq,pupaxxo/gitlabhq,duduribeiro/gitlabhq,kitech/gitlabhq,Devin001/gitlabhq,sekcheong/gitlabhq,sekcheong/gitlabhq,it33/gitlabhq,stoplightio/gitlabhq,lvfeng1130/gitlabhq,fpgentil/gitlabhq,manfer/gitlabhq,robbkidd/gitlabhq,OlegGirko/gitlab-ce,Soullivaneuh/gitlabhq,yuyue2013/ss,jvanbaarsen/gitlabhq,lbt/gitlabhq,szechyjs/gitlabhq,ikappas/gitlabhq,folpindo/gitlabhq,Datacom/gitlabhq,delkyd/gitlabhq,revaret/gitlabhq,sonalkr132/gitlabhq,zrbsprite/gitlabhq,rhels/gitlabhq,cncodog/gitlab,8thcolor/eurucamp2014-htdsadr,dwrensha/gitlabhq,dwrensha/gitlabhq,Datacom/gitlabhq,iiet/iiet-git,martijnvermaat/gitlabhq,hq804116393/gitlabhq,inetfuture/gitlab-tweak,pkallberg/tjenare,theonlydoo/gitlabhq,SkyWei/gitlabhq,LytayTOUCH/gitlabhq,ayufan/gitlabhq,ikappas/gitlabhq,LUMC/gitlabhq,whluwit/gitlabhq,chrrrles/nodeflab,manfer/gitlabhq,Exeia/gitlabhq,mmkassem/gitlabhq,flashbuckets/gitlabhq,michaKFromParis/gitlabhqold,k4zzk/gitlabhq,riyad/gitlabhq,allysonbarros/gitlabhq,bladealslayer/gitlabhq,neiljbrookes/glab,gorgee/gitlabhq,pulkit21/gitlabhq,achako/gitlabhq,sonalkr132/gitlabhq,TheWatcher/gitlabhq,mmkassem/gitlabhq,dyon/gitlab,NKMR6194/gitlabhq,rfeese/gitlab-ce,jrjang/gitlab-ce,betabot7/gitlabhq,jvanbaarsen/gitlabhq,cncodog/gitlab,ngpestelos/gitlabhq,kemenaran/gitlabhq,nmav/gitlabhq,achako/gitlabhq,luzhongyang/gitlabhq,icedwater/gitlabhq,duduribeiro/gitlabhq,darkrasid/gitlabhq,fantasywind/gitlabhq,fscherwi/gitlabhq,atomaka/gitlabhq,yulchitaj/TEST3,neiljbrookes/glab,luzhongyang/gitlabhq,revaret/gitlabhq,Soullivaneuh/gitlabhq,tim-hoff/gitlabhq,liyakun/gitlabhq,bladealslayer/gitlabhq,kotaro-dev/gitlab-6-9,sideci-sample/sideci-sample-gitlabhq,zrbsprite/gitlabhq,htve/GitlabForChinese,Razer6/gitlabhq,gopeter/gitlabhq,Devin001/gitlabhq,julianengel/gitlabhq,youprofit/gitlabhq,ArthurHoaro/Public-GitLab,yatish27/gitlabhq,SkyWei/gitlabhq,Soullivaneuh/gitlabhq,ArthurHoaro/Public-GitLab,Kambda/mobbr-gitlabhq,rebecamendez/gitlabhq,yfaizal/gitlabhq,axilleas/gitlabhq,sakishum/gitlabhq,copystudy/gitlabhq,SVArago/gitlabhq,yama07/gitlabhq,mathstuf/gitlabhq,copystudy/gitlabhq,MauriceMohlek/gitlabhq,rhels/gitlabhq,chenrui2014/gitlabhq,zBMNForks/gitlabhq,allistera/gitlabhq,shinexiao/gitlabhq,nuecho/gitlabhq,nuecho/gitlabhq,mathstuf/gitlabhq,MauriceMohlek/gitlabhq,chadyred/gitlabhq,martijnvermaat/gitlabhq,fpgentil/gitlabhq,DanielZhangQingLong/gitlabhq,mente/gitlabhq,larryli/gitlabhq,rhels/gitlabhq,cinderblock/gitlabhq,kotaro-dev/gitlab-6-9,salipro4ever/gitlabhq,mavimo/gitlabhq,koreamic/gitlabhq,dreampet/gitlab,ngpestelos/gitlabhq,gopeter/gitlabhq,duduribeiro/gitlabhq,adaiguoguo/gitlab_globalserarch,ZeoAlliance/gitlabhq,dplarson/gitlabhq,dukex/gitlabhq,yfaizal/gitlabhq,rebecamendez/gitlabhq,theonlydoo/gitlabhq,t-zuehlsdorff/gitlabhq,gorgee/gitlabhq,childbamboo/gitlabhq,Telekom-PD/gitlabhq,aaronsnyder/gitlabhq,dukex/gitlabhq,tk23/gitlabhq,betabot7/gitlabhq,mr-dxdy/gitlabhq,fearenales/gitlabhq,Exeia/gitlabhq,yama07/gitlabhq,ttasanen/gitlabhq,jrjang/gitlabhq,MauriceMohlek/gitlabhq,Keystion/gitlabhq,SkyWei/gitlabhq,pkgr/gitlabhq,salipro4ever/gitlabhq,tim-hoff/gitlabhq,Datacom/gitlabhq,childbamboo/gitlabhq,wangcan2014/gitlabhq,1ed/gitlabhq,michaKFromParis/gitlabhqold,sonalkr132/gitlabhq,riyad/gitlabhq,flashbuckets/gitlabhq,initiummedia/gitlabhq,mrb/gitlabhq,zrbsprite/gitlabhq,salipro4ever/gitlabhq,joalmeid/gitlabhq,daiyu/gitlab-zh,cui-liqiang/gitlab-ce,t-zuehlsdorff/gitlabhq,ZeoAlliance/gitlabhq,dyon/gitlab,rebecamendez/gitlabhq,SVArago/gitlabhq,jaepyoung/gitlabhq,adaiguoguo/gitlab_globalserarch,jairzh/gitlabhq-sfdc,youprofit/gitlabhq,cui-liqiang/gitlab-ce,cui-liqiang/gitlab-ce,TheWatcher/gitlabhq,axilleas/gitlabhq,copystudy/gitlabhq,Kambda/mobbr-gitlabhq,ibiart/gitlabhq,ikappas/gitlabhq,larryli/gitlabhq,jairzh/gitlabhq-sfdc,0x20h/gitlabhq,jairzh/gitlabhq-sfdc,8thcolor/rubyconfau2015-sadr,dreampet/gitlab,inetfuture/gitlab-tweak,NARKOZ/gitlabhq,dwrensha/gitlabhq,chadyred/gitlabhq,t-zuehlsdorff/gitlabhq,akumetsuv/gitlab,yulchitaj/TEST3,MauriceMohlek/gitlabhq,jirutka/gitlabhq,lvfeng1130/gitlabhq,LytayTOUCH/gitlabhq,shinexiao/gitlabhq,123Haynes/gitlabhq,dvrylc/gitlabhq,larryli/gitlabhq,sideci-sample/sideci-sample-gitlabhq,fantasywind/gitlabhq,aaronsnyder/gitlabhq,wangcan2014/gitlabhq,OlegGirko/gitlab-ce,tk23/gitlabhq,ibiart/gitlabhq,sekcheong/gitlabhq,darkrasid/gitlabhq,gopeter/gitlabhq,yatish27/gitlabhq,initiummedia/gitlabhq,per-garden/gitlabhq,jaepyoung/gitlabhq,koreamic/gitlabhq,fgbreel/gitlabhq,ttasanen/gitlabhq,vjustov/gitlabhq,lvfeng1130/gitlabhq,openwide-java/gitlabhq,dukex/gitlabhq,t-zuehlsdorff/gitlabhq,lvfeng1130/gitlabhq,fpgentil/gitlabhq,fantasywind/gitlabhq,williamherry/gitlabhq,koreamic/gitlabhq,NKMR6194/gitlabhq,kitech/gitlabhq,Tyrael/gitlabhq,pupaxxo/gitlabhq,sakishum/gitlabhq,larryli/gitlabhq,martinma4/gitlabhq,yonglehou/gitlabhq,cui-liqiang/gitlab-ce,hq804116393/gitlabhq,yama07/gitlabhq,tempbottle/gitlabhq,rfeese/gitlab-ce,pupaxxo/gitlabhq,ksoichiro/gitlabhq,dukex/gitlabhq,iiet/iiet-git,youprofit/gitlabhq,bbodenmiller/gitlabhq,martijnvermaat/gitlabhq,axilleas/gitlabhq,dvrylc/gitlabhq,tempbottle/gitlabhq,eliasp/gitlabhq,stanhu/gitlabhq,Kambda/mobbr-gitlabhq,cinderblock/gitlabhq,LUMC/gitlabhq,htve/GitlabForChinese,htve/GitlabForChinese,hacsoc/gitlabhq,michaKFromParis/sparkslab,0x20h/gitlabhq,theodi/gitlabhq,johnmyqin/gitlabhq,1ed/gitlabhq,chrrrles/nodeflab,k4zzk/gitlabhq,mavimo/gitlabhq,Burick/gitlabhq,since2014/gitlabhq,CodeCantor/gitlabhq,yfaizal/gitlabhq,fearenales/gitlabhq,cncodog/gitlab,louahola/gitlabhq,theonlydoo/gitlabhq,DanielZhangQingLong/gitlabhq,8thcolor/rubyconfau2015-sadr,whluwit/gitlabhq,louahola/gitlabhq,mavimo/gitlabhq,fendoudeqingchunhh/gitlabhq,it33/gitlabhq,johnmyqin/gitlabhq,jrjang/gitlabhq,pkgr/gitlabhq,mente/gitlabhq,joalmeid/gitlabhq,vjustov/gitlabhq,michaKFromParis/gitlabhq,OtkurBiz/gitlabhq,sekcheong/gitlabhq,yatish27/gitlabhq,since2014/gitlabhq,8thcolor/eurucamp2014-htdsadr,michaKFromParis/gitlabhq,delkyd/gitlabhq,ferdinandrosario/gitlabhq,8thcolor/testing-public-gitlabhq,gopeter/gitlabhq,bigsurge/gitlabhq,dreampet/gitlab,childbamboo/gitlabhq,joalmeid/gitlabhq,WSDC-NITWarangal/gitlabhq,ngpestelos/gitlabhq,H3Chief/gitlabhq,allistera/gitlabhq,szechyjs/gitlabhq,fscherwi/gitlabhq,michaKFromParis/sparkslab,OlegGirko/gitlab-ce,bigsurge/gitlabhq,bozaro/gitlabhq,adaiguoguo/gitlab_globalserarch,lbt/gitlabhq,ayufan/gitlabhq,theodi/gitlabhq,nmav/gitlabhq,rebecamendez/gitlabhq,tempbottle/gitlabhq,per-garden/gitlabhq,jvanbaarsen/gitlabhq,chenrui2014/gitlabhq,theodi/gitlabhq,folpindo/gitlabhq,8thcolor/rubyconfau2015-sadr,windymid/test2,rumpelsepp/gitlabhq,inetfuture/gitlab-tweak,wangcan2014/gitlabhq,htve/GitlabForChinese,screenpages/gitlabhq,kitech/gitlabhq,initiummedia/gitlabhq,hzy001/gitlabhq,nguyen-tien-mulodo/gitlabhq,allysonbarros/gitlabhq,bbodenmiller/gitlabhq,aaronsnyder/gitlabhq,stellamiranda/mobbr-gitlabhq,screenpages/gitlabhq,yama07/gitlabhq,copystudy/gitlabhq,fgbreel/gitlabhq,dvrylc/gitlabhq,NARKOZ/gitlabhq,Telekom-PD/gitlabhq,WSDC-NITWarangal/gitlabhq,pjknkda/gitlabhq,chadyred/gitlabhq,darkrasid/gitlabhq,theodi/gitlabhq,jirutka/gitlabhq,koreamic/gitlabhq,bozaro/gitlabhq,julianengel/gitlabhq,H3Chief/gitlabhq,LUMC/gitlabhq,martinma4/gitlabhq,eliasp/gitlabhq,stanhu/gitlabhq,martijnvermaat/gitlabhq,kemenaran/gitlabhq,8thcolor/testing-public-gitlabhq,hacsoc/gitlabhq,johnmyqin/gitlabhq,stoplightio/gitlabhq,DanielZhangQingLong/gitlabhq,mathstuf/gitlabhq,yonglehou/gitlabhq,robbkidd/gitlabhq,jrjang/gitlabhq,mavimo/gitlabhq,allysonbarros/gitlabhq,mathstuf/gitlabhq,ordiychen/gitlabhq,screenpages/gitlabhq,jrjang/gitlabhq,shinexiao/gitlabhq,fearenales/gitlabhq,jirutka/gitlabhq,jairzh/gitlabhq-sfdc,zBMNForks/gitlabhq,fpgentil/gitlabhq,rfeese/gitlab-ce,mente/gitlabhq,pjknkda/gitlabhq,julianengel/gitlabhq,Razer6/gitlabhq,yuyue2013/ss,fscherwi/gitlabhq,johnmyqin/gitlabhq,nguyen-tien-mulodo/gitlabhq,nuecho/gitlabhq,fendoudeqingchunhh/gitlabhq,eliasp/gitlabhq,phinfonet/mobbr-gitlabhq,mmkassem/gitlabhq,k4zzk/gitlabhq,daiyu/gitlab-zh,aaronsnyder/gitlabhq,ordiychen/gitlabhq,pjknkda/gitlabhq,flashbuckets/gitlabhq,vjustov/gitlabhq,Tyrael/gitlabhq,fscherwi/gitlabhq,pulkit21/gitlabhq,dyon/gitlab,since2014/gitlabhq,louahola/gitlabhq,atomaka/gitlabhq,akumetsuv/gitlab,xuvw/gitlabhq,achako/gitlabhq,windymid/test2,SkyWei/gitlabhq,michaKFromParis/gitlabhqold,fearenales/gitlabhq,Burick/gitlabhq,ferdinandrosario/gitlabhq,ferdinandrosario/gitlabhq,betabot7/gitlabhq,Datacom/gitlabhq,zBMNForks/gitlabhq,Kambda/Mobbr,H3Chief/gitlabhq,it33/gitlabhq,revaret/gitlabhq,fendoudeqingchunhh/gitlabhq,fendoudeqingchunhh/gitlabhq,chenrui2014/gitlabhq,michaKFromParis/gitlabhq,DanielZhangQingLong/gitlabhq,NuLL3rr0r/gitlabhq,ordiychen/gitlabhq,yulchitaj/TEST3,ayufan/gitlabhq,phinfonet/mobbr-gitlabhq,sakishum/gitlabhq,martinma4/gitlabhq,nguyen-tien-mulodo/gitlabhq,phinfonet/mobbr-gitlabhq,adaiguoguo/gitlab_globalserarch,dplarson/gitlabhq,liyakun/gitlabhq,julianengel/gitlabhq,jaepyoung/gitlabhq,iiet/iiet-git,123Haynes/gitlabhq,bozaro/gitlabhq,yuyue2013/ss,rumpelsepp/gitlabhq,lbt/gitlabhq,xuvw/gitlabhq,nmav/gitlabhq,childbamboo/gitlabhq,LUMC/gitlabhq,LytayTOUCH/gitlabhq,manfer/gitlabhq,ttasanen/gitlabhq,cinderblock/gitlabhq,OtkurBiz/gitlabhq,mrb/gitlabhq,Kambda/Mobbr,wangcan2014/gitlabhq,Razer6/gitlabhq,delkyd/gitlabhq,Keystion/gitlabhq,sideci-sample/sideci-sample-gitlabhq,stanhu/gitlabhq,kemenaran/gitlabhq,Keystion/gitlabhq,fantasywind/gitlabhq,SVArago/gitlabhq,rumpelsepp/gitlabhq,dwrensha/gitlabhq,fgbreel/gitlabhq,Tyrael/gitlabhq,NuLL3rr0r/gitlabhq,bigsurge/gitlabhq,sue445/gitlabhq,WSDC-NITWarangal/gitlabhq,yuyue2013/ss,rumpelsepp/gitlabhq,louahola/gitlabhq,bigsurge/gitlabhq,Keystion/gitlabhq,ksoichiro/gitlabhq,stoplightio/gitlabhq,Telekom-PD/gitlabhq,martinma4/gitlabhq,kotaro-dev/gitlab-6-9,NKMR6194/gitlabhq,tk23/gitlabhq,neiljbrookes/glab,icedwater/gitlabhq,OtkurBiz/gitlabhq,hq804116393/gitlabhq,Telekom-PD/gitlabhq,8thcolor/testing-public-gitlabhq,gorgee/gitlabhq,delkyd/gitlabhq,jrjang/gitlab-ce,tk23/gitlabhq,luzhongyang/gitlabhq,Exeia/gitlabhq,shinexiao/gitlabhq,NARKOZ/gitlabhq,allistera/gitlabhq,szechyjs/gitlabhq,yonglehou/gitlabhq,Razer6/gitlabhq,goeun/myRepo,ferdinandrosario/gitlabhq,jrjang/gitlab-ce,bladealslayer/gitlabhq,daiyu/gitlab-zh,sonalkr132/gitlabhq,hzy001/gitlabhq,duduribeiro/gitlabhq,123Haynes/gitlabhq,jaepyoung/gitlabhq,dreampet/gitlab,tempbottle/gitlabhq,mr-dxdy/gitlabhq,nmav/gitlabhq,bozaro/gitlabhq,Tyrael/gitlabhq,chenrui2014/gitlabhq,michaKFromParis/sparkslab,OlegGirko/gitlab-ce,atomaka/gitlabhq,1ed/gitlabhq