sends mail to user on registering