reset password works

fixing email issue and looking at how to do graph using mysql data