One TIme Password System in Rails