Fixed encoding test
should be all green
Added email confirmation functionality