Changed dev&prod settings for mailer
Added reset password function