minor refactoring: otp generation returns status as failed for unregistered users
minor refactoring: updating response for otp#generate