added registration confirmation
implemented resetting password