fix reset password bug

if the reset code started with a letter then reset_code.to_i 
would return 0 which would then reset the password of the 
current_user instead of the intended user