implemented pw_forgot and fixed logout and activation code resend