added a flag to saveUserMethod in userService to indicate sending mail or not