sending an mail and resetting password view working