add forgot password functions

Yay....now you can recover your passwords. Still needs testing.