fixing issue with userExists with undefined input
moving around for cucumberjs