Added confirmation email feature into registration

- Some other minor improves