Refactor create_user method
Refactor create_user method

agops/gitlab,ondra-m/gitlab,agops/gitlab,aaam/gitlab,marc-ta/gitlab,marc-ta/gitlab,NARKOZ/gitlab,michaellihs/gitlab,nanofi/gitlab,yonglehou/gitlab,ondra-m/gitlab,aaam/gitlab,nanofi/gitlab,NARKOZ/gitlab,michaellihs/gitlab,raine/gitlab,yonglehou/gitlab,raine/gitlab