Fixed issues with registration. Added password resets and user activation.