adding debug code
updating config
adding password reset